package com.iguo.tube.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author iGuo
 * @since 2024-09-28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
  @EqualsAndHashCode(callSuper = false)
    public class Point implements Serializable {

    private static final long serialVersionUID=1L;

  @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private String lat;

    private String lng;

    private Integer state;

    private Integer priority;

  public Point deepCopy() {
    return new Point(this.id, this.name, this.lat, this.lng, this.state, this.priority);
  }

}